class MetricWrapper {

  MetricWrapper();

  start() {
  }

  stop() {
  }

  void putAttribute(String name, String value) {
  }

  /// HttpResponse code of the request.
  int? get httpResponseCode => 0;

  /// Size of the request payload.
  int? get requestPayloadSize => 0;

  /// Content type of the response such as text/html, application/json, etc...
  String? get responseContentType => "";

  /// Size of the response payload.
  int? get responsePayloadSize => 0;

  /// HttpResponse code of the request.
  ///
  /// If the [HttpMetric] has already been stopped, returns immediately without
  /// taking action.
  set httpResponseCode(int? httpResponseCode) {
  }

  /// Size of the request payload.
  ///
  /// If the [HttpMetric] has already been stopped, returns immediately without
  /// taking action.
  set requestPayloadSize(int? requestPayloadSize) {
  }

  set responsePayloadSize(int? responsePayloadSize) {
  }

}